package com.maint.m.utils

import androidx.annotation.StringDef
import com.maint.m.utils.OTA_UPDATE_STATUS.Companion.OTA_CHECK_FAILED
import com.maint.m.utils.OTA_UPDATE_STATUS.Companion.OTA_CORE_SYSTEM_START
import com.maint.m.utils.OTA_UPDATE_STATUS.Companion.OTA_CORE_SYSTEM_UPDATE_FAILED
import com.maint.m.utils.OTA_UPDATE_STATUS.Companion.OTA_FILE_MOVE
import com.maint.m.utils.OTA_UPDATE_STATUS.Companion.OTA_FILE_MOVE_FAILED
import com.maint.m.utils.OTA_UPDATE_STATUS.Companion.OTA_FILE_MOVE_SUCCESS
import com.maint.m.utils.OTA_UPDATE_STATUS.Companion.OTA_FILE_SYSTEM_UPDATE
import com.maint.m.utils.ProjectBusinessType.Companion.GET_SYSTEM_INFO
import com.maint.m.utils.ProjectBusinessType.Companion.START_UPLOAD_OVER_ALBUM
import com.maint.m.utils.ProjectBusinessType.Companion.SYSTEM_INFO_RESPONSE
import com.maint.m.utils.ProjectBusinessType.Companion.SYSTEM_OTA_UPDATE
import com.maint.m.utils.ProjectBusinessType.Companion.SYSTEM_OTA_UPDATE_STATUS
import com.maint.m.utils.ProjectBusinessType.Companion.SYSTEM_OTA_UPDATE_PROGRESS
import com.maint.m.utils.ProjectBusinessType.Companion.SET_VOLUME
import com.maint.m.utils.ProjectBusinessType.Companion.SET_BRIGHTNESS
import com.maint.m.utils.ProjectBusinessType.Companion.SET_WORD_TIPS
import com.maint.m.utils.ProjectBusinessType.Companion.SYNC_FILE
import com.maint.m.utils.ProjectBusinessType.Companion.USER_INFO
import com.maint.m.utils.ProjectBusinessType.Companion.APP_INSTALL
import com.maint.m.utils.ProjectBusinessType.Companion.APP_INSTALL_RESPONSE
import com.maint.m.utils.ProjectBusinessType.Companion.GB28181_ACTION

/**
 * Author: zhangshengwei
 * Date: 2025/6/16
 */
@Retention(AnnotationRetention.SOURCE)
@StringDef(
    SYSTEM_OTA_UPDATE,
    GET_SYSTEM_INFO,
    SYSTEM_INFO_RESPONSE,
    SYSTEM_OTA_UPDATE_STATUS,
    USER_INFO,
    SYSTEM_OTA_UPDATE_PROGRESS,
    SET_VOLUME,
    SET_BRIGHTNESS,
    SET_WORD_TIPS,
    SYNC_FILE,
    APP_INSTALL,
    APP_INSTALL_RESPONSE,
    START_UPLOAD_OVER_ALBUM,
            GB28181_ACTION

)
annotation class ProjectBusinessType {

    companion object {
        const val SYSTEM_OTA_UPDATE = "SYSTEM_OTA_UPDATE"
        const val GET_SYSTEM_INFO = "GET_SYSTEM_INFO"
        const val SYSTEM_INFO_RESPONSE = "SYSTEM_INFO_RESPONSE"
        const val SYSTEM_OTA_UPDATE_STATUS = "SYSTEM_OTA_UPDATE_STATUS"
        const val USER_INFO = "USER_INFO"
        const val SYSTEM_OTA_UPDATE_PROGRESS = "SYSTEM_OTA_UPDATE_PROGRESS"
        const val SET_VOLUME = "SET_VOLUME"
        const val SET_BRIGHTNESS = "SET_BRIGHTNESS"
        const val SET_WORD_TIPS = "SET_WORD_TIPS"
        const val SYNC_FILE = "SYNC_FILE"
        const val APP_INSTALL = "APP_INSTALL"
        const val APP_INSTALL_RESPONSE = "APP_INSTALL_RESPONSE"
        const val START_UPLOAD_OVER_ALBUM = "START_UPLOAD_OVER_ALBUM"
        const val GET_GLASS_ALBUM_SYNC_COUNT = "GET_GLASS_ALBUM_SYNC_COUNT"
        const val ON_GLASS_ALBUM_SYNC_COUNT_RESPONSE = "ON_GLASS_ALBUM_SYNC_COUNT_RESPONSE"
        const val GB28181_ACTION = "GB28181_ACTION"
        const val SYNC_ALBUM_PHONE_FILE = "SYNC_ALBUM_PHONE_FILE"
        const val SYNC_ALBUM_GLASS_FILE = "SYNC_ALBUM_GLASS_FILE"
        const val SYNC_ALBUM_GLASS_FILE_NO_EXIST_FAILED = "SYNC_ALBUM_GLASS_FILE_NO_EXIST_FAILED"
    }
}







@Retention(AnnotationRetention.SOURCE)
@StringDef(
    OTA_FILE_MOVE,
    OTA_FILE_MOVE_FAILED,
    OTA_FILE_SYSTEM_UPDATE,
    OTA_FILE_MOVE_SUCCESS,
    OTA_CORE_SYSTEM_START,
    OTA_CORE_SYSTEM_UPDATE_FAILED,
    OTA_CHECK_FAILED

)
annotation class OTA_UPDATE_STATUS {

    companion object {
        const val OTA_FILE_MOVE = "OTA_MOVE"
        const val OTA_FILE_MOVE_FAILED = "OTA_FILE_MOVE_FAILED"
        const val OTA_FILE_MOVE_SUCCESS= "OTA_FILE_MOVE_SUCCESS"
        const val OTA_FILE_SYSTEM_UPDATE = "OTA_FILE_SYSTEM_UPDATE"
        const val OTA_CORE_SYSTEM_START = "OTA_CORE_SYSTEM_START"
        const val OTA_CORE_SYSTEM_REBOOT = "OTA_CORE_SYSTEM_REBOOT"
        const val OTA_CORE_SYSTEM_UPDATE_FAILED = "OTA_CORE_SYSTEM_UPDATE_FAILED"
        const val OTA_CHECK_FAILED = "OTA_CHECK_FAILED"
    }
}






